﻿@model MovieTheaterApp.DataModels.Movie
@{
    ViewBag.Title = "UpdateMovie";
}

<h2>UpdateMovie</h2>
<form method="post">
    <input type="text" class="form-control" name="title" value="@Model.Title" />
    <input type="text" class="form-control" name="poster" value="@Model.Poster" />
    @Html.DropDownList("Rating", new SelectList(MovieTheaterApp.DataModels.CustomSelectLists.Ratings(), Model.Rating))
    <input type="hidden" name="Id" value="@Model.Id">
    <input type="submit" class="btn btn-sm btn-success" />
</form>